SNCheckInCopyProtection

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > SNCheckInCopyProtection

## SNCheckInCopyProtection

The SNCheckInCopyProtection function will attempt to reduce the consume count of the associated Serial Number by one and undo Copy-Protection.

This function is now deprecated. Please instead use SNCheckInCopyProtectionEx .

###### Syntax

TCheckpointSNCheckInResponse * SNCheckInCopyProtection( BSTR ASerialNo, BSTR ADeactivationConfirmationCode ) ;

###### Parameters

ASerialNo

[IN] This is a string value in which you pass the Serial Number that you wish to reduce consumption.

ADeactivationConfirmationCode

[IN] This is a string value of the deactivation confirmation code.

###### Remarks

This is a function that is called by the ClientProtector. This should not be used by anything else besides the ClientProtector. The reference for this function is included only for completeness.

This function is used to reverse the consumption of an activation and reverse Copy Protection.

###### Return Value

Returns the custom class TCheckPointSNCheckInResponse. The fields of interest that is related to this method are:

- CheckPointReturnCode- this field will return a TCheckPointReturnCode.

- AuthorizationDefinitionID- this field contains the Authorization Definition ID that is returned.

- Success - if the function was successful this will return true, otherwise a false will be returned.

- ErrorMessage - If the a error code is returned, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"